where to specify sort order